package vg.services.data_base_manager.data.header;

public class VertexHeader implements Cloneable {
	// Defines
	public final static int DEF_NO_LINK2INNER_GRAPH = -1;
	
	// Main data
	public final int id;
	public int subgraph_id;
	public int link2inner_graph;
	
	public VertexHeader(int id, int subgraph_id) {
		this.id = id;
		this.subgraph_id = subgraph_id;
		this.link2inner_graph = DEF_NO_LINK2INNER_GRAPH;
	}
	
	@Override
	public VertexHeader clone() {
		VertexHeader newVH = new VertexHeader(id, subgraph_id);
		newVH.link2inner_graph = link2inner_graph;
		return newVH;
	}
}
